﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Entitys.Inv
{
    /// <summary>
    /// 库存调拨
    /// </summary>
    public class Inv_trf
    {
        [Key]
        public int Trf_id { get; set; }

        public string Trf_type { get; set; }

        public DateTime? Trf_startdate { get; set; }

        public string Trf_code { get; set; }

        public string Warehouse_out_code { get; set; }

        public string Warehouse_out_name { get; set; }

        public string Warehouse_enter_code { get; set; }

        public string Warehouse_enter_name { get; set; }

        public string Trf_applicant { get; set; }

        public string Create_by { get; set; }

        public DateTime? Create_time { get; set; }

        public string Update_by { get; set; }

        public DateTime? Update_time { get; set; }

        public char Del_flag { get; set; }

        public string trf_audit_status { get; set; }

        public string trf_audit_by { get; set; }

        public DateTime? trf_audit_time { get; set; }


        //判断调拨单是否全部出库
        public char trf_ckpd { get;set; }
        
        //判断是否全部入库
        public char trf_rkpd { get; set; } 
        /// <summary>
        /// 审核备注
        /// </summary>
        public string trf_audit_opinion { get; set; }

        // 导航属性：明细
        public ICollection<Inv_trfproddtl> Details { get; set; }
    }
}
